package com.momo.service.sysSetting;

import com.momo.common.common.JSONResult;
import com.momo.common.req.sysSetting.dept.SaveDeptReq;
import com.momo.common.req.sysmain.RedisUser;

/**
 * Created by MOMO on 2019/3/8.
 * 部门
 */
public interface SysDeptService {
    /**
     * 新增部门
     *
     * @param saveDeptReq
     * @return
     */
    public JSONResult save(SaveDeptReq saveDeptReq, RedisUser redisUser);

    /**
     * 更新部门
     * @param param
     * @param redisUser
     */
    public JSONResult update(SaveDeptReq param, RedisUser redisUser);
}
